import request from "@/utils/request";

/**
 * 库存列表查询
 */
export const getLogsList = props => {
  return request({
    url: "/mall/tenant/merchant/warehouse/logs/list",
    method: "post",
    data: props
  });
};
/**
 * 商品分类查询接口
 */
export const getcategoryList = props => {
  return request({
    url: "/mall/tenant/category/getcategoryByInboundList",
    method: "get"
  });
};

//导出
export const download = props => {
  return request({
    url: "/mall/tenant/merchant/warehouse/logs/download",
    method: "post",
    responseType: "blob",
    data: props
  });
};
